﻿using System;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// Summary description for FleetCompany
/// </summary>
namespace CE.CarInsurance
{
    public class FleetCompany
    {
        private Int64 _companyid;
        private string _companyname;
        private string _contactperson;
        private string _companyaddress;
        private string _subdistrict;
        private string _district;
        private string _province;
        private string _postalcode;
        private string _contactno1;
        private string _contactno2;
        private string _email;
        private Int64 _agentid;
        private Int64 _adminid;
        private Int64 _refceuserid;
        private bool _status;

        public FleetCompany()
        {
            ClearFields();
        }

        public Int64 CompanyId
        {
            get { return _companyid; }
            set { _companyid = value; }
        }

        public string CompanyName
        {
            get { return _companyname; }
            set { _companyname = value; }
        }

        public string ContactPerson
        {
            get { return _contactperson; }
            set { _contactperson = value; }
        }

        public string CompanyAddress
        {
            get { return _companyaddress; }
            set { _companyaddress = value; }
        }

        public string SubDistrict
        {
            get { return _subdistrict; }
            set { _subdistrict = value; }
        }

        public string District
        {
            get { return _district; }
            set { _district = value; }
        }

        public string Province
        {
            get { return _province; }
            set { _province = value; }
        }

        public string PostalCode
        {
            get { return _postalcode; }
            set { _postalcode = value; }
        }

        public string ContactNo1
        {
            get { return _contactno1; }
            set { _contactno1 = value; }
        }

        public string ContactNo2
        {
            get { return _contactno2; }
            set { _contactno2 = value; }
        }

        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }

        public Int64 AgentId
        {
            get { return _agentid; }
            set { _agentid = value; }
        }

        public Int64 AdminId
        {
            get { return _adminid; }
            set { _adminid = value; }
        }

        public Int64 RefCEUserId
        {
            get { return _refceuserid; }
            set { _refceuserid = value; }
        }

        public bool Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public void ClearFields()
        {
            _companyid = 0;
            _companyname = "";
            _contactperson = "";
            _companyaddress = "";
            _subdistrict = "";
            _district = "";
            _province = "";
            _postalcode = "";
            _contactno1 = "";
            _contactno2 = "";
            _email = "";
            _agentid = 0;
            _adminid = 0;
            _refceuserid = 0;
            _status = true;
        }

    }
}